Mollie\WooCommerce\Gateway\MolliePaymentGateway C

Total Complexity 114
Dependencies 18
Dependents 14
Total lines 1,106
Lines of code 645
Logical lines of code 269
Comment lines 206
Methods 37
Properties 17

Methods 37

Method Rating Maintainability Complexity Lines of code
onOrderReceivedTitle()
B
37 15 80
getReturnRedirectUrlForOrder()
A
40 10 69
process_refund()
A
45 6 50
displayInstructions()
A
49 7 35
__construct()
A
40 5 64
isValidForUse()
S
46 6 44
get_recurring_total()
S
57 5 18
is_available()
S
52 4 27
onOrderReceivedText()
S
59 4 16
gatewayHasFields()
S
62 4 13
thankyou_page()
S
61 3 14
isAvailableMethodInCheckout()
S
60 3 14
isAllowedBillingCountry()
S
62 3 12
getBillingCountry()
S
62 3 11
getSupportedCurrencies()
S
49 1 36
get_transaction_url()
S
66 3 7
checkEnabledNorDirectDebit()
S
66 3 9
activePaymentObject()
S
61 2 13
getCurrencyFromOrder()
S
63 2 11
noOrderPaymentFailure()
S
59 1 16
getSelectedIssuer()
S
73 2 4
process_payment()
S
64 2 10
initIcon()
S
66 2 9
validate_multi_select_countries_field()
S
71 2 6
initDescription()
S
75 2 4
get_icon()
S
74 2 4
cartAmountAvailable()
S
79 2 3
paymentObject()
S
82 1 3
handlePaidOrderWebhook()
S
63 1 10
admin_options()
S
81 1 3
process_admin_options()
S
77 1 4
isCurrencySupported()
S
72 1 6
getMollieMethod()
S
75 1 5
init_settings()
S
81 1 3
payment_fields()
S
77 1 4
init_form_fields()
S
80 1 3
gatewayId()
S
73 1 5